package PrjHttpServ

const (
	ERR_INNER            int = 503
	ERR_DB_ERR           int = 504
	ERR_LOGIN_FAIL       int = 10001
	ERR_TOKEN_INVALID    int = 10002
	ERR_IN_PARAM_INVALID int = 20000
)

var dbres_demo = `
	{
	   "$sel":{
		  "sql":"select * from sys_test",
		  "args":{
			 "$id$": "fid='$id$'"
		   }
	   },
	   "$sql":{
		  "sql":"update caster_ntripsvr set fstate=$state$ where fsubnet=&subnet$"
	   },
	   "$update":{
		  "table":"sys_test",
		  "keyfields":"fid",
		  "#ignoreupdatefields":"fcreatetime"
	   }
	}
	`
